--[[/**
-- * 
 * 兰德洛技能3
 * 每[0]次普通攻击后追加两只寒冰箭 [1]冰箭技能id
 * 由于触发次数变动在action逻辑之后 所以策划配的时候需要将需求次数-1
 * 触发时机填攻击后
 */
-- */]]

---@class BuffEffect115100 : BaseBuffEffect
BuffEffect115100 = ClientFight.CreateClass("BuffEffect115100", ClientFight.BaseBuffEffect)
local t = BuffEffect115100

---@param fight Fight
---@param buff FighterBuff
function t:action(fight, buff, ...)
   local buffEffectVals = buff.buffBean.f_BuffEffectValue;
    if (buff.triggerTimes % buffEffectVals[1] == 0) then
        self:triggerSkill(fight, buff.target, nil,  buffEffectVals[2]);
    end
    return ClientFight.BaseBuffEffect.action(self, fight, buff, ...);
end

t.New()